package com.lkd.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * ClassName: NodeDetail
 * Package: com.lkd.entity
 * Description: 响应数据量太多了，单独封装“node”
 *
 * @Author zt
 * @Create 2025/10/16 1:04
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NodeDetail {

    //node表中的基本信息 + vmCount
    //private Node basic;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer id;
    private String name;
    private String addr;
    private Integer createUserId;
    private Integer ownerId;
    private String ownerName;
    private Integer businessId;
    private Integer regionId;
    private Long vmCount;
    //------------------------------------

    private Region region;
    private Business businessType;
}
